<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
	<title>爱玩视频</title>
	<meta name="keywords" content="爱玩视频">
	<meta name="description" content="爱玩视频">

	<link rel="shortcut icon" href="./Public/Share/pic/icon.ico">
	<link rel="stylesheet" href="./Public/Share/css/index.css">
	<link rel="stylesheet" href="./Public/Share/css/public.css">
	<script src="./Public/Share/js/jquery.js"></script>
</head>
<body>
<div class="box top">
	<div class="box_m top_li">
		<div class="left">
			<php>
				if($_SESSION['uid']>=1){
			</php>
				<a href="{:U('Index/per_center')}">欢迎{$_SESSION.username}</a>
				<a href="{:U('Index/per_center')}">个人中心</a>
				<a href="{:U('Index/logout')}">注销</a>
			<php>
				}else{
			</php>
				<a href="{:U('Index/register')}">注册</a>
				<a href="{:U('Index/login')}">登录</a>
			<php>
				}
			</php>


		</div>
		<div class="right">
			<form action="{:U('Index/search')}" method="post">
				<input type="text" placeholder="请输入视频名称" class="inputA" name="words"><input type="submit" value="搜索" class="inputB">
			</form>
		</div>
		<div class="clear"></div>
	</div>
</div>
<div class="header">
	<div class="box_m">
		<div class="logo left">
			<a href="{:U('Index/index')}">
				<img src="./Public/Share/pic/logo.png" alt="samsung">
			</a>
		</div>
		<div class="logo_ul right">
			<ul>
				<li><a href="{:U('Index/index')}">首页</a></li>
				<volist name="cp_sort" id="s" >
					<li><a href="{:U('Index/pro_list',array(cp_sort_id=>$s['id']))}">{$s.title}</a></li>
				</volist>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="clear"></div>
	</div>
</div>

<div style="width:100%;height:20px;background: #e44848;">
	
</div>